package com.kool;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.ImportResource;

/**
 * @description: 启动
 * @author: tianhe
 * @create: 2018/10/17 17:50
 */
@SpringBootApplication
@ImportResource({"classpath:dubbo.xml"})
@MapperScan("com.kool.*.dao")
@EnableCaching
public class BootApplication {

    public static void main(String[] args) {
        SpringApplication.run(BootApplication.class, args);
    }

}
